package com.zht.user_manger;

import com.zht.user_manger.objectmodel.entity.User;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

// todo 如需开启 Redis，须移除 exclude 中的内容
//exclude = {RedisAutoConfiguration.class}
@SpringBootApplication
@MapperScan("com.zht.user_manger.mapper")
@EnableScheduling
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
public class UserMangerApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserMangerApplication.class, args);
    }
}
